﻿<%@ Page Title="" Language="C#" MasterPageFile="~/General.Master" AutoEventWireup="true"
	CodeBehind="Login.aspx.cs" Inherits="BK.WebSite.Login" Culture="auto" meta:resourcekey="PageResource1"
	UICulture="auto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphGeneral" runat="server">
	<script  src='<%= Page.ResolveUrl("~/Scripts/jquery/jquery.cookie.js") %>' type="text/javascript"></script>
	<script type="text/javascript">
		$().ready(function ()
		{
			var rememberMe = $('#<%= loginControl.ClientID %>').find("input[type='checkbox']")[0];
			
			rememberMe.checked = $.cookie("rememberMe") == "true";

			$(rememberMe).click(function ()
			{
				$.cookie("rememberMe", rememberMe.checked);
			});

			
		});
	</script>


	<table class="wrapper">
		<tr>
			<td valign="middle" align="center">
				<asp:Login ID="loginControl" runat="server" MembershipProvider="UserProvider" meta:resourcekey="loginControlResource1">
				</asp:Login>
			</td>
		</tr>
	</table>
</asp:Content>
